<?php
$this->breadcrumbs = array(
	'项目查看' => array(
		'index'
	),
	'管理',
);

$this->userActions = array(
	//array('label'=>'项目列表', 'url'=>array('index')),
	array(
		'label' => '新建项目',
		'url' => array(
			'create'
		),
		'iconClass'=>'icon-building-add'
	),
);

?>

<h1>项目管理</h1>
<?php $this
	->widget('zii.widgets.grid.CGridView',
		array(
			'id' => 'project-grid',
			'dataProvider' => $model->search(),
			'filter' => $model,
			'columns' => array(
				//'id',
				'name',
				array(
					'name' => 'status',
					'value' => '$data->statusText',
					'filter' => Project::getAllStatuses(),
				),
				'note',
				'createTime',
//				'createUserId',
//				'updateTime',
//				'updateUserId',
				array(
					'class' => 'CButtonColumn',
				),
			),
		));
?>
